package com.lib.common.entity.api.resp

/**
 * Copyright (C), 2020-2020, 享物说
 * FileName: CosTokenResp
 * Author: keanbin
 * Date: 2020-02-06 22:46
 * Description: cosToken 返回结果
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */
data class CosTokenResp(
    val credentials: Credentials? = null,
    val expiration: String? = null,
    val expiredTime: String? = null,
    val sessionToken: String? = null,
    val startTime: String? = null,
    val tmpSecretId: String? = null,
    val tmpSecretKey: String? = null
)

data class Credentials(
    val credential: Credential? = null,
    val expiration: String? = null,
    val expiredTime: Long? = null,
    val requestId: String? = null,
    val startTime: Long? = null
)

data class Credential(
    val sessionToken: String? = null,
    val tmpSecretId: String? = null,
    val tmpSecretKey: String? = null
)